package com.jie.langlangmall.dao;

import com.jie.langlangmall.dto.SmsFlashPromotionProduct;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author Jie
 * @Date 2024/11/26
 * @Email 3217998214@qq.com
 * @Description 限时购商品关系管理
 */
public interface SmsFlashPromotionProductRelationDao {

    /**
     * 获取秒杀商品信息
     *
     * @param flashPromotionId
     * @param flashPromotionSessionId
     * @return
     */
    List<SmsFlashPromotionProduct> getList(@Param("flashPromotionId") Long flashPromotionId,
                                           @Param("flashPromotionSessionId") Long flashPromotionSessionId);

}
